package com.java.action;

import java.util.List;

import com.java.pojo.ComDept;
import com.java.service.IEmpService;

public class EmpSearchPageAction {

	private IEmpService empService;
	private List<ComDept> dept;

	public String execute() {
		dept = empService.getDeptno();
		return "success";
	}

	public List<ComDept> getDept() {
		return dept;
	}

	public void setDept(List<ComDept> dept) {
		this.dept = dept;
	}

	public IEmpService getEmpService() {
		return empService;
	}

	public void setEmpService(IEmpService empService) {
		this.empService = empService;
	}

}
